home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 4
/
CDPD_IV.bin
/
e
/
mailinglists
/
amigae.0294feb.archive
/
000029_donews!crash!In…Bremen.DE!olli_Tue, 8 Feb 94 07:45:05 PST.msg
< prev
next >
Wrap
Internet Message Format
|
1994-05-26
|
3KB
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1res@bkhouse.cts.com>; Tue, 8 Feb 94 07:45:05 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0pTeLq-0001o1C; Mon, 7 Feb 94 14:22 PST
Received: from alf.zfn.uni-bremen.de by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0pTPuw-00006SC; Sun, 6 Feb 94 22:57 PST
Received: from bettina.informatik.uni-bremen.de by alf.zfn.uni-bremen.de (AIX 3.2/UCB 5.64/4.931109)
id AA57079; Fri, 4 Feb 1994 16:34:06 +0100
Received: by Informatik.Uni-Bremen.DE (4.1/SMI-4.1)
id AA17252; Fri, 4 Feb 94 16:34:01 +0100
Received: from localhost by p232.informatik (4.1/SMI-4.1)
id AA21028; Fri, 4 Feb 94 16:33:56 +0100
Message-Id: <9402041533.AA21028@p232.informatik>
In-Reply-To: Your message of "Wed, 02 Feb 1994 21:25:35 EST."
<199402030225.VAA14485@freenet.carleton.ca>
Date: Fri, 04 Feb 1994 16:33:54 +0100
From: Olliver Moehreke <olli@Informatik.Uni-Bremen.DE>
To: AmigaE@bkhouse.cts.com (The AmigaE Mailing List)
Subject: Re: Amiga E bug! (I'm pretty sure.)
|> >One other thing I'm stuck on is with a device/volume/assign list. I want
to
|> >be able to show it similar to the way ASL shows it ie:
|> >
|> >
|> >DEVICENAME: VOLUMENAME: xx% full
|> >DEVICE2: VOLUME2: yy% full
|> >C: Assign
|> >CLIPS: Assign
|> >
|> >etc...
|> >But... no matter which way I do it, I either end up with devices I don't
|> >want
|> >(SER: AUX: PRT: PAR: etc) or I have no devices at all, just volumes and
|> >assigns... the second option would be OK if I knew how to get the devic
e
|> >name from the volume name.. e.g. given I have a volumename of
|> >AmigaLibDisk930, how do I find from that the device it is in?
|> >e.g. DF3:
|>
|> Ok, this is a bit tricky, but is quite doable. My details may be a
|> bit off, because I don't have the RKMs with me, but here's the gist.
|> First, to avoid having devices you don't like, use the Dos (I believe)
|> call, IsFileSystem().
MEGA WARNING !!!
NEVER USE IsFileSystem('DEVICE:') WHEN YOU HAVE LOCKED THE DOSLIST
FOR READING OR WRITING, BECAUSE YOU WILL GET A MEGA-DEADLOCK...
The reason is, that IsFileSystem(...) has to load every handler,
that is not already loaded to the system (eg. PRT:). The OS
then has to update the processport-information of the doslist
and tries to lock the doslist too, that is already locked by you. :)
---------------------------------------------------------------------
Oliver Moehrke EMail: olli@informatik.Uni-Bremen.de
FB - Informatik - AG KI UUCP: unido!ubrinf!olli
Universitaet Bremen
Postfach 33 04 40 Tel: +49-(0)4221-218-3776
D-28334 Bremen Fax: +49-(0)4221-218-7196
---------------------------------------------------------------------